inflateMenu

open fun inflateMenu(@MenuRes resId: Int)(source)

Inflate a menu resource into this toolbar.

Inflate an XML menu resource into this toolbar. Existing items in the menu will not be modified or removed.

Parameters

resId

ID of a menu resource to inflate menu